﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChiTietNoiThat.aspx.cs" Inherits="WebHousingInfo.ChiTietNoiThat" %>

<%@ Register Src="~/Controls/Header.ascx" TagName="Head" TagPrefix="Header" %>
<%@ Register Src="~/Controls/MenuFooter.ascx" TagName="MeNuDuoi" TagPrefix="MenuFooter" %>
<%@ Register Src="~/Controls/Footer.ascx" TagName="Foot" TagPrefix="Footer" %>
<%@ Register Src="~/Controls/QuangCaoTren.ascx" TagName="QCT" TagPrefix="QuangCaoTren" %>
<%@ Register Src="~/Controls/DanhMucNhaChoThue.ascx" TagName="CT" TagPrefix="DanhMucNhaChoThue" %>
<%@ Register Src="~/Controls/TinTucTieuDiem.ascx" TagName="TTTD" TagPrefix="TinTucTieuDiem" %>
<%@ Register Src="~/Controls/KhongGianSong.ascx" TagName="KGS" TagPrefix="KhongGianSong" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Chi Tiết Noi That</title>
</head>
<body>
    <form id="form1" runat="server">
        <div id="uni_wrapper">
        <Header:Head ID="Header" runat="server" />
            <div id="uni_main">
             <!-- E_Header Navigation Menu --> 
	            <div id="content" class="clearfix">
	            <% string mode = Request.QueryString["idnthat"];
                var objectnoithat = HousingInfo.Library.NewsBO.GetNewsBO(Convert.ToInt32(mode));
	            %>
		            <div id="group_750_l">
			            <div id="banner">
				            <div class="banner_ad_left">
				                <a href="#"><img src="Images/70_1300344796.jpg" width="465px" height="175px" border="2" style="border:1px solid Gray" align="left" /></a>
				            </div>				           
			            </div>	
			            
				            <div class="box_277_180">
					            <div class="top_277_6"></div>
					            <div class="center_277">
						            <div class="title_277">Tìm Nhanh Bất Động Sản</div>
						            <div class="center_267x146">
						            <ul class="ul_8x6">
							            <li><input type="radio" value="0" name="search_type" checked="checked" /><span>Tìm mua</span></li>
							            <li><input type="radio" value="1" name="search_type" /><span>Tìm thuê</span></li>
						            </ul>
						            <ul class="ul_133x118">
							            <li class="width_133">
								            <p>Loại hình BĐS</p>							
								            <select name="search_typehouse" id="loaiSelect" class="input170 only_margin">
									            <option value="0" selected="selected">Tất cả</option>
									            <option value="nha_biet_thu">Nhà - Biệt thự</option>
								            </select>
							            </li>
							            <li class="width_118">
								            <p>Tỉnh/ Thành Phố</p>						
								            <select name="location" onChange="changeDistrict(this.options[this.selectedIndex].value);" class="input170">
									            <option value="0" selected="selected">Tất cả</option>
									            <option value="4"> Hà Nội</option>	
								            </select>
							            </li>
						            </ul>
						            <ul class="ul_133x118 margin_px">
							            <li class="width_133">
								            <p>Quận/ Huyện</p>
								            <span id="district_value">
									            <select name="district" class="input170" style="margin-left:1px" id="mySelect">
									              <option value="0" selected="selected">Tất cả</option>
									            </select>
								            </span>
							            </li>
							            <li class="width_118">
								            <p>Giá</p>
								            <div id="timmua_place" style="display:">
									            <select name="price" size="1" class="input100" id="price" onChange="if(this.value=='l'){this.value=0}">
										            <option value="0" selected="selected">Tất cả</option>
										            <option value="1-150000000" >< 150 triệu</option>						  						  
									            </select>
								            </div>						
							            </li>
						            </ul>
						            <ul class="ul_133x118">
							            <li class="width_133">
								            <div class="bt_timnhan"><span><a href="#">Tìm Nhanh</a></span></div>
							            </li>
							            <li class="width_118">
								            <label><a href="#">Tìm kiếm nâng cao</a></label>
							            </li>
						            </ul>
					            </div>
				            </div>
				            <div class="bottom_277_7"></div>
				        </div>		
			            
			            <div id="ketquatimkiem" class="clearfix">
				            <div class="title_ketquatimkiem">
					            <p style="text-transform:uppercase">
						            Xem chi tiết tin nội thất
					            </p>
				            </div>
			            </div>
		              <!-- e ket qua tim kiem-->
                       <div id="group_710_r">
				        <div id="thongtin">
					        <div class="title">
						        <div class="subtitle">
							        <p><%=objectnoithat.Title%></p>
						        </div>
					        </div>
					        <div id="content_data">
						        <p><%=objectnoithat.NewsContent%></p>
					        </div>
				        <!--e subtitle-->
				        </div>
        			  
				        <div class="banner_ad_468_center">
						        Dat quang cao o day
				        </div> 
				        <div id="tinkhac">
		                    <div class="title">CÁC TIN KHÁC</div>
		                  <% var objecttinnt = HousingInfo.Library.NewsBOList.GetNewsBOList_ByNoiThat(26,5);
                       foreach (var obnthat in objecttinnt)
                       {
                           if (obnthat.NewsID != objectnoithat.NewsID)
                           {
                                 %>
		                    <div class="content">
		                        <ul>
			                        <li><a href="ChiTietPhongThuy.aspx?idpthuy=<%=obnthat.NewsID %>"><%=obnthat.Title%></a></li>
		                        </ul>
		                    </div>
		                    <%}
                       }%>
	                    
	                </div>  
			        </div>	  
		            </div>
		            <div id="group_5">
			            <DanhMucNhaChoThue:CT ID="DanhMucNhaChoThue" runat="server" />
			            <TinTucTieuDiem:TTTD ID="TinTucTieuDiem" runat="server" />
			            <KhongGianSong:KGS ID="KhongGianSong" runat="server" />
		            </div>
	            <!--E_menu-->
	            </div>	
            </div>
            <MenuFooter:MeNuDuoi ID="MenuFooter" runat="server" />
            <Footer:Foot ID="Footer" runat="server" />
         </div>
    </form>
</body>
</html>

